package com.capri.model;

import com.capri.model.bean.AllOrdersBean;
import com.capri.model.bean.BaseResultBean;
import com.capri.model.bean.LoginResultBean;
import com.capri.model.bean.OrderDetailBean;
import com.capri.model.bean.OrderNumBean;
import com.capri.model.bean.TodayOrderBean;
import com.capri.model.bean.VerifyCodeResultBean;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

public interface INurse {
    Observable<LoginResultBean> login(String username,String password);
    Observable<VerifyCodeResultBean> getVerifyCode(String mobile);
    Observable<BaseResultBean> resetPwd(String mobile, String code, String password, String confirmPassword);
    Observable<BaseResultBean> modifyPwd(String oldPassword,String newPassword,String newConfirmPassword);
    Observable<AllOrdersBean> GetAllOrders(String serviceStatus);
    Observable<OrderDetailBean> GetOrderDetail(String id);
    Observable<OrderNumBean> GetOrderNum();
    Observable<TodayOrderBean> GetTodayOrder();
    Observable<BaseResultBean> UpdateOrderStatus(String id,String serviceStatus);
    Observable<BaseResultBean> uploadGeoInfo(String orderId,String longitude,String latitude);
}
